/* globle|全局 */
body,
header,
div,
span,
ul,
li,
a,
h1,
h2,
h3,
h4,
p,
button,
figure,
figcaption {
    margin: 0;
    padding: 0;
}
body{
    background-color: rgb(226, 226, 226);
}
ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}
.top a:hover,header a:hover,.nav-wrap a:hover{
    color: #ef1f1f!important;
}
.head,.bar-wrap{
    background-color: #fff;
}
/* top-bar */
.top{
    background-color: #fafafa;
    box-shadow: 0 1px 0px #f2f2f2;
    height: 36px;
}
.top-bar{
    width: 1200px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    font-size: 12px;
    line-height: 36px;
    color: #666;
}
.top-bar a{
    color: #666;
}
.top-bar-left>*{
    float: left;
}
.top-bar-right{
    display: flex;
}
.top-bar-right>li{
    margin: 0 1em;
}
.menu{
    /* sub|二级面板 */
    position: relative;
    user-select: none;
}

.sub{
    position: absolute;
    top: 36px;
    left: -1rem;
    display: none;
    flex-direction: column;
    background-color: white;
    border: 1px solid #e2e2e2;
    width: 120px;
    z-index: 1;
}
.sub>a{
    display: block;
    padding-left: 1rem;
    line-height: 2;
}
.menu:hover{
    color: #ef1f1f;
}
.menu:hover .sub{
    display: flex;
}
.sub>a:hover{
    background-color: #f2f2f2;
}
/* header|头 */
header {
    height: 135px;
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

header>h1>a{
    /* logo */
    display: block;
    text-indent: -999px;
    width: 238px;
    height: 70px;
    background: url(../images/logo_slogan_v2.png) no-repeat center center;
    background-size:164px 70px;
}
.search-wrap{
    margin-left: 40px;
}
.search-wrap>ul{
    display: flex;
}
.search-wrap>ul>li{
    cursor: pointer;
    width: 64px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 14px;
}
.search-wrap>ul>li.on{
    background-color: #ef1f1f;
    color: white;
}
.search-wrap>form{
    display: flex;
    height: 48px;
    position: relative;
}
.search-wrap>form>input{
    width: 652px;
    height: 100%;
    border: 2px solid #ef1f1f;
}
ul.associative{
    position: absolute;
    box-sizing: border-box;
    width: 652px;
    left: 0;
    top: 100%;
    line-height: 2;
    background-color: #fff;
    z-index: 10;
    min-width: 0;
}
ul.associative li{
    cursor: pointer;
    padding: 0 4px;
}
ul.associative li:hover{
    background-color: rgb(255, 194, 194);
}
#search-btn1,#search-btn2{
    width: 120px;
    margin-right: 16px;
}
#search-btn1{
    background-color: #ef1f1f;
    border: 2px solid #ef1f1f;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
}
#search-btn2{
    background-color: #fa6600;
    border: 2px solid #fa6600;
    border-radius: 3px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
}
.suggest-list>a{
    font-size: 12px;
    color: black;
    margin-right: 2em;
    
}

/* bar */
.bar a:hover{
    color: #ef1f1f!important;
}
.bar {
    height: 50px;
    width: 1200px;
    margin: 0 auto;
    display: flex;
}
.bar h3{
    color: black;
}
.bar>div {
    width: 238px;
    background-color: #ef1f1f;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-indent: 2rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-sizing: border-box;
}   

.bar>ul {
    padding: 0 20px;
    flex: 1;
    display: flex;
    align-items: center;
}

.bar>ul>li {
    padding: 0 20px;
}

.bar>ul>li>a {
    color: black;
    font-weight: 700;
}

/* 页尾|footer */
footer{
    background-color: #333;
    padding: 40px 0;
}
footer>div{
    display: flex;
    width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
}
footer>div:first-child{
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(153, 153, 153, 0.493);
}
footer ul{
    display: flex;
}
footer li{
    display: flex;
    margin-right: 80px;
    flex-direction: column;
}
footer h3{
    color: white;
    margin-bottom: 10px;
}
footer li>a{
    color: #999;
    font-size: 14px;
    line-height: 2;
}
footer li>a:hover{
    color: white;
}
footer>div>div{
    text-align: center;
}
footer img{
    width: 100px;
    height: 100px;
}
footer>div:nth-child(2){
    flex-direction: column;
}
footer>div:nth-child(2)>p{
    font-size: 12px;
    color: #999;
    text-align: center;
}
footer>div:nth-child(2)>p:first-child{
    margin: 22px 0 13px;
}
footer>div:nth-child(2) span{
    padding: 0 12px;
}
footer>div:nth-child(2) span:first-child{
    border-right: 1px solid #999;
}